package com.jingdianjichi.auth.convert;


import com.jingdianjichi.auth.domin.entity.AuthRoleBO;
import com.jingdianjichi.auth.dto.AuthRoleDTO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;


@Mapper
public interface AuthRoleDTOConverter {


    AuthRoleDTOConverter INSTANCE = Mappers.getMapper(AuthRoleDTOConverter.class);

    AuthRoleBO convertDTOToBO(AuthRoleDTO authRoleDTO);

    List<AuthRoleDTO> convertBoListToDTOList(List<AuthRoleBO> authRoleBOList);

    List<AuthRoleBO> convertDTOListToBOList(List<AuthRoleDTO> authRoleDTOList);
}